package com.wjv.example.controller;

import com.wjv.example.service.MessageProvider;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>Title: SendMessageController</p>
 * <p>Company:misspao </p>
 *
 * @author: wjv
 * @Date: Create in 13:37 2020/10/9
 * @Description:
 */
@RestController
public class SendMessageController {
    @Resource
    private MessageProvider messageProvider;

    @GetMapping(value = "/sendMessage")
    public String sendMessage()
    {
        return messageProvider.send();
    }

}
